package com.umpay.dto.merBusi.req.payment;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;

/**
 * 	
 * @ClassName: MPOSBusiReq  
 * @Description: 智能POS支付申请业务处理请求类
 * @author zhangtao  
 * @date Jul 13, 2018
 */
public class MPOSBusiReq extends CommonBusiReq{
	/**
	 * 惠商子商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String subMerId;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = "业务产品号不能为空")
	@Pattern(message="业务产品号格式不正确")
	private String bProductId;
	
	/**
	 * 门店号
	 */
	private String shopNo;
	
	/**
	 * 操作员ID
	 */
	private String operatorId;
	
	/**
	 * 设备类型  POS，代表智能POS
	 */
	private String deviceType;
	
	/**
	 * 集成商Id
	 */
	private String proxyId;
			
	
	/**
	 * 设备号   如设备为“POS”，则设备号(POS SN)  如设备为“Other”，则该字段可为空
	 */
	private String deviceInfo;
	
	/**
	 * 第三方平台BPID
	 */
	private String bpid;
	
	/**
	 * 第三方平台订单号
	 */
	@NotEmpty(message = "第三方平台订单号不能为空")
	@Pattern(message="第三方平台订单号格式不正确")
	private String outOrderId;
	
	/**
	 * 第三方平台会员ID	
	 */
	private String userId;
	
	/**
	 * 手机号	
	 */
	private String mobileId;

	public String getSubMerId() {
		return subMerId;
	}

	public void setSubMerId(String subMerId) {
		this.subMerId = subMerId;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getProxyId() {
		return proxyId;
	}

	public void setProxyId(String proxyId) {
		this.proxyId = proxyId;
	}

	public String getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

	public String getBpid() {
		return bpid;
	}

	public void setBpid(String bpid) {
		this.bpid = bpid;
	}

	public String getOutOrderId() {
		return outOrderId;
	}

	public void setOutOrderId(String outOrderId) {
		this.outOrderId = outOrderId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMobileId() {
		return mobileId;
	}

	public void setMobileId(String mobileId) {
		this.mobileId = mobileId;
	}

	@Override
	public String toString() {
		return "MPOSBusiReq [subMerId=" + subMerId + ", bProductId=" + bProductId + ", shopNo=" + shopNo
				+ ", operatorId=" + operatorId + ", deviceType=" + deviceType + ", proxyId=" + proxyId + ", deviceInfo="
				+ deviceInfo + ", bpid=" + bpid + ", outOrderId=" + outOrderId + ", userId=" + userId + ", mobileId="
				+ mobileId + ", rpid=" + rpid + ", version=" + version + ", reqDate=" + reqDate + ", reqTime=" + reqTime
				+ ", accessName=" + accessName + ", accessType=" + accessType + ", depBankMerId=" + depBankMerId + "]";
	}

	
}